package com.xhwl.logistics.strategy.impl;

import com.xhwl.common.exception.BusinessException;
import com.xhwl.logistics.bo.VehicleCarChargeInfoBO;
import com.xhwl.logistics.bo.cent.VehicleIntegratedConfigBO;
import com.xhwl.logistics.bo.input.QueryVehicleCarChargeBO;
import com.xhwl.logistics.strategy.IVehicleParkingLotCarChargeHandler;

import java.util.List;

//@Service
public class VehicleParkingLotNothingCarChargeHandlerImpl implements IVehicleParkingLotCarChargeHandler {
    @Override
    public List<VehicleCarChargeInfoBO> carCharge(VehicleIntegratedConfigBO vehicleIntegratedConfigBO, QueryVehicleCarChargeBO queryVehicleCarChargeBO) {
        Integer projectId = vehicleIntegratedConfigBO.getVehicleSystemInfoBO().getProjectId();
        throw new BusinessException("该项目下的车场暂不支持查询车充值信息的操作，项目id：" + projectId);
    }
}
